package com.bw.service.impl;

import com.bw.mapper.RuleMapper;
import com.bw.service.RuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RuleServiceImpl implements RuleService {
    @Autowired
    private RuleMapper ruleMapper;

    @Override
    public List rulelist(String mohu) {
        return ruleMapper.rulelist(mohu);
    }

    @Override
    public void tingyong(String aa) {
            ruleMapper.tingyong(aa);
    }

    @Override
    public void qiyong(String aa) {
        ruleMapper.qiyong(aa);
    }


}
